<template>
    <mt-swipe :auto="4000">
      <mt-swipe-item v-for="(item,i) in lunbotu" :key="i">
        <img :src="item[imgurl]" alt="" :class="[isfull? 'img-full':'img-normal']">
      </mt-swipe-item>
    </mt-swipe>
</template>

<script>
export default {
    data(){
        return {}
    },
    methods:{

    },
    props:['lunbotu','imgurl','isfull'] //将来谁使用这个轮播图就传递一个轮播图数组
}
</script>

<style lang='scss' scoped>
.mint-swipe {
    text-align: center;
    height: 180px;
    .img-full {
    height: 100%;
    width: 100%;
   }
   .img-normal {
       height: 100%;
   }
}
</style>